﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities;
namespace MatTrace
{
    public class Tmrbr096 : Entity<Guid>
    {    /// <summary>
         /// 材料号
         /// </summary>

        [StringLength(20)]
        [Column("MAT_NO")]
        public virtual String MatNo { get; set; }

        /// <summary>
        /// 材料标识号
        /// </summary>

        [StringLength(30)]
        [Column("MAT_ID")]
        public virtual String MatId { get; set; }

        /// <summary>
        /// 物料产线类型
        /// </summary>

        [StringLength(4)]
        [Column("MAT_LINE_TYPE")]
        public virtual String MatLineType { get; set; }

        /// <summary>
        /// 物料种类
        /// </summary>

        [StringLength(2)]
        [Column("MAT_KIND")]
        public virtual String MatKind { get; set; }

        /// <summary>
        /// 机组代码
        /// </summary>

        [StringLength(4)]
        [Column("UNIT_CODE")]
        public virtual String UnitCode { get; set; }

        /// <summary>
        /// 下道机组代码
        /// </summary>

        [StringLength(4)]
        [Column("NEXT_UNIT_CODE")]
        public virtual String NextUnitCode { get; set; }


        /// <summary>
        /// 存储厂别
        /// </summary> 
        [Column("FACTORY_STORE")]
        public virtual String FactoryStore { get; set; }

        /// <summary>
        /// 产出厂别
        /// </summary> 
        [Column("FACTORY_PROD")]
        public virtual String FactoryProd { get; set; }

        /// <summary>
        /// 系统
        /// </summary> 

        /// <summary>
        /// 成品标记
        /// </summary>

        [StringLength(1)]
        [Column("PRODUCT_FLAG")]
        public virtual String ProductFlag { get; set; }

        /// <summary>
        /// 材料状态码
        /// </summary>

        [StringLength(2)]
        [Column("MAT_STATUS")]
        public virtual String MatStatus { get; set; }



        /// <summary>
        /// 材料厚度
        /// </summary>

        [Column("MAT_THICK")]
        public virtual Decimal MatThick { get; set; }

        /// <summary>
        /// 材料宽度
        /// </summary>

        [Column("MAT_WIDTH")]
        public virtual Decimal MatWidth { get; set; }

        /// <summary>
        /// 材料长度
        /// </summary>

        [Column("MAT_LEN")]
        public virtual Int32 MatLen { get; set; }


        /// <summary>
        /// 材料重量
        /// </summary>

        [Column("MAT_WT")]
        public virtual Decimal MatWt { get; set; }

        /// <summary>
        /// 材料实际重量
        /// </summary>

        [Column("MAT_ACT_WT")]
        public virtual Decimal MatActWt { get; set; }

        /// <summary>
        /// 材料理论重量
        /// </summary>

        [Column("MAT_THEORY_WT")]
        public virtual Decimal MatTheoryWt { get; set; }



        /// <summary>
        /// 熔炼号
        /// </summary>

        [StringLength(20)]
        [Column("HEAT_NO")]
        public virtual String HeatNo { get; set; }

        /// <summary>
        /// 出钢记号
        /// </summary>

        [StringLength(20)]
        [Column("ST_NO")]
        public virtual String StNo { get; set; }



        /// <summary>
        /// 生产时刻
        /// </summary>

        [StringLength(14)]
        [Column("PROD_TIME")]
        public virtual String ProdTime { get; set; }


        /// <summary>
        /// 牌号（钢级）
        /// </summary>

        [StringLength(50)]
        [Column("SG_SIGN")]
        public virtual String SgSign { get; set; }

        /// <summary>
        /// 标准
        /// </summary>

        [StringLength(100)]
        [Column("SG_STD")]
        public virtual String SgStd { get; set; }



        /// <summary>
        /// 订单号
        /// </summary>

        [StringLength(100)]
        [Column("ORDER_NO")]
        public virtual String OrderNo { get; set; }



        /// <summary>
        /// 制程号
        /// </summary>

        [Column("WHOLE_BACKLOG_NO")]
        public virtual Int32 WholeBacklogNo { get; set; }

        /// <summary>
        /// 全程工序途径码
        /// </summary>

        [StringLength(50)]
        [Column("WHOLE_BACKLOG")]
        public virtual String WholeBacklog { get; set; }

        /// <summary>
        /// 全程工序顺序号
        /// </summary>

        [Column("WHOLE_BACKLOG_SEQ")]
        public virtual Int32 WholeBacklogSeq { get; set; }

        /// <summary>
        /// 全程工序代码
        /// </summary>

        [StringLength(2)]
        [Column("WHOLE_BACKLOG_CODE")]
        public virtual String WholeBacklogCode { get; set; }

        /// <summary>
        /// 后全程工序顺序号
        /// </summary>

        [Column("NEXT_WHOLE_BACKLOG_SEQ")]
        public virtual Int32 NextWholeBacklogSeq { get; set; }

        /// <summary>
        /// 后全程工序代码
        /// </summary>

        [StringLength(2)]
        [Column("NEXT_WHOLE_BACKLOG_CODE")]
        public virtual String NextWholeBacklogCode { get; set; }

        /// <summary>
        /// 冶金规范码
        /// </summary>

        [StringLength(20)]
        [Column("MSC")]
        public virtual String Msc { get; set; }


        /// <summary>
        /// 产品规范码
        /// </summary>

        [StringLength(20)]
        [Column("PSC")]
        public virtual String Psc { get; set; }



        /// <summary>
        /// 准发确认标记
        /// </summary>

        [StringLength(1)]
        [Column("CONFM_FLAG")]
        public virtual String ConfmFlag { get; set; }

        /// <summary>
        /// 准发计划号
        /// </summary>

        [StringLength(10)]
        [Column("CONFM_PLAN_NO")]
        public virtual String ConfmPlanNo { get; set; }

        /// <summary>
        /// 准发确认时刻
        /// </summary>

        [StringLength(14)]
        [Column("CONFM_TIME")]
        public virtual String ConfmTime { get; set; }



        /// <summary>
        /// 封锁标记
        /// </summary>

        [StringLength(1)]
        [Column("HOLD_FLAG")]
        public virtual String HoldFlag { get; set; }


        /// <summary>
        /// 计划号1
        /// </summary>

        [StringLength(20)]
        [Column("PLAN_NO")]
        public virtual String PlanNo { get; set; }


        /// <summary>
        /// 入库标记
        /// </summary>

        [StringLength(1)]
        [Column("IN_FLAG")]
        public virtual String InFlag { get; set; }

        /// <summary>
        /// 入库时刻
        /// </summary>

        [StringLength(14)]
        [Column("IN_STOCK_TIME")]
        public virtual String InStockTime { get; set; }



        /// <summary>
        /// 库区号
        /// </summary>

        [StringLength(10)]
        [Column("STOCK_NO")]
        public virtual String StockNo { get; set; }


        /// <summary>
        /// 材料库位号
        /// </summary>

        [StringLength(15)]
        [Column("STOCK_PLACE_NO")]
        public virtual String StockPlaceNo { get; set; }
    }
}
